<div nz-row [nzGutter]="20">
  <!--  经营状况 -->
  <div nz-col nzXs="24" nzSm="24" nzMd="12" nzLg="12" nzXl="6">
    <div class="inner-box">
      <div class="head">
        <div>今天销售额</div>
        <div><i nz-icon nzType="info-circle" nzTheme="outline"></i></div>
      </div>
      <div class="content">
        <div class="value"><span>¥</span>{{dayCount?.totalAmountCount | number:'0.2-2'}}</div>
        <div><img src="assets/img/1-1.png" alt=""></div>

      </div>
      <div class="foot">
        <div>昨天销售额：{{yesterdayCount?.turnover | number:'0.2-2'}}</div>
      </div>
    </div>
  </div>
  <div nz-col nzXs="24" nzSm="24" nzMd="12" nzLg="12" nzXl="6">
    <div class="inner-box">
      <div class="head">
        <div>今天交易笔数</div>
        <div><i nz-icon nzType="info-circle" nzTheme="outline"></i></div>
      </div>
      <div class="content">
        <div class="value">{{dayCount?.totalCount}} <span>笔</span></div>
        <div><img src="assets/img/1-2.png" alt=""></div>
      </div>
      <div class="foot">
        <div>昨天交易笔数：{{yesterdayCount?.orderCount}}</div>
      </div>
    </div>
  </div>
  <div nz-col nzXs="24" nzSm="24" nzMd="12" nzLg="12" nzXl="6" *ngIf="userInfo.roleId == roleIdEnum.SUPER_ADMINISTRATOR || userInfo.roleId == roleIdEnum.AGENT">
    <div class="inner-box">
      <div class="head">
        <div>今天利润</div>
        <div><i nz-icon nzType="info-circle" nzTheme="outline"></i></div>
      </div>
      <div class="content">
        <div class="value"><span>¥</span>{{dayCount?.realCommissionCount | number:'0.2-2'}}</div>
        <div><img src="assets/img/1-3.png" alt=""></div>
      </div>
      <div class="foot">
        <div>昨天利润：{{yesterdayCount?.totalCommission}}</div>
      </div>
    </div>
  </div>
  <div nz-col nzXs="24" nzSm="24" nzMd="12" nzLg="12" nzXl="6">
    <div class="inner-box">
      <div class="head">
        <div>今天销量(游戏币)</div>
        <div><i nz-icon nzType="info-circle" nzTheme="outline"></i></div>
      </div>
      <div class="content">
        <div class="value">{{dayCount?.totalCoinCount}}<span>个</span></div>
        <div><img src="assets/img/1-4.png" alt=""></div>
      </div>
      <div class="foot">
        <div>昨天销量：{{yesterdayCount?.outCoinTotal}}</div>
      </div>
    </div>
  </div>

</div>
